//
//  SecondViewController.m
//  LocalizableDemo
//
//  Created by 王郑 on 2018/8/11.
//  Copyright © 2018年 王郑. All rights reserved.
//

#import "SecondViewController.h"

@interface SecondViewController ()

@end

@implementation SecondViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor whiteColor];
    
    TestView *testView = [[[NSBundle mainBundle] loadNibNamed:@"TestView" owner:self options:nil]lastObject];
    testView.center = self.view.center;
    testView.backgroundColor = [UIColor groupTableViewBackgroundColor];
    [self.view addSubview:testView];
    
    
    
    UIImageView *iamgeV = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"kona.jpg"]];
    iamgeV.frame = CGRectMake(0, 64, 100, 100);
    iamgeV.center = CGPointMake(self.view.center.x, iamgeV.center.y);
    [self.view addSubview:iamgeV];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
